package com.ruibang.glass.produce.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * BC冷端、热端设备报警表
 * </p>
 *
 * @author Auto-generator
 * @since 2024-05-04
 */

@ApiModel(value = "BC冷端、热端设备报警表")
@TableName("history")
@Data
@JsonIgnoreProperties(value = {"year", "month", "day", "week", "handle", "type", "src", "actions"}, allowGetters = true)
public class DeviceAlarm implements Serializable {
    @ApiModelProperty("主键ID")
    private String id;
    private String type;
    private String src;
    @TableField("production_line_code")
    @ApiModelProperty("产线")
    private String productionLineName;
    @ApiModelProperty("岗位ID")
    private String stationId;
    @ApiModelProperty("岗位名称")
    private String stationName;
    @TableField("alarmID")
    @ApiModelProperty("报警ID")
    private String alarmId;
    @TableField("alarmName")
    @ApiModelProperty("报警名称")
    private String alarmName;
    @ApiModelProperty("报警等级")
    private String level;
    @ApiModelProperty("报警开始时间")
    private String begin;
    @ApiModelProperty("报警结束时间")
    private String end;
    private String location;
    private String status;
    private String data;
    private String actions;
    @ApiModelProperty(" 1-未确认，未恢复  2-未确认，已恢复  3-已确认，未恢复，4已确认，已恢复")
    private String state;
    private String attach;
    private String time;
    private String user;
    private String text;
    private String handle;
    private String year;
    private String month;
    private String day;
    private String week;
}
